package com.ajk.bbs.config.remote;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.remoting.caucho.HessianServiceExporter;

@Configuration
public class HessianServerConfig extends BaseRemoteConfig{

	//以下通过hessian发布接口接口
/*
    @Bean(name = "/fooService")
    public HessianServiceExporter fooServiceHessian() {
        HessianServiceExporter exporter = new HessianServiceExporter();
        exporter.setService(userService);
        exporter.setServiceInterface(UserService.class);
        return exporter;
    }
*/

}